from django.shortcuts import render
from rest_framework.response import Response
from django.http import HttpResponse,JsonResponse
from rest_framework.views import APIView
# Create your views here.

class HomeAPIView(APIView):
    def get(self,request):
        return Response({'code':200,'msg':'这里是家目录'})
